package com.ruoyi.common.core.domain.entity;

import java.math.BigDecimal;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * detail对象 vendor_settlement_detail
 *
 * @author admin
 * @date 2023-12-17
 */
@ApiModel("detail")
public class VendorSettlementDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ApiModelProperty("${comment}")
    private Long id;

    /** 结算单号 */
    @Excel(name = "结算单号")
    @ApiModelProperty("结算单号")
    private String businessNum;

    /** $column.columnComment */
    @Excel(name = "结算单号")
    @ApiModelProperty("结算单号")
    private Long vendorId;

    /** $column.columnComment */
    @Excel(name = "结算单号")
    @ApiModelProperty("结算单号")
    private String vendorName;

    /** 食材id */
    @Excel(name = "食材id")
    @ApiModelProperty("食材id")
    private Long resourceId;

    /** 食材名称 */
    @Excel(name = "食材名称")
    @ApiModelProperty("食材名称")
    private String resourceName;

    /** 入库数量总计 */
    @Excel(name = "入库数量总计")
    @ApiModelProperty("入库数量总计")
    private BigDecimal inAmountTotal;

    /** 入库金额总计 */
    @Excel(name = "入库金额总计")
    @ApiModelProperty("入库金额总计")
    private BigDecimal inMoneyTotal;

    /** 结算单价 */
    @Excel(name = "结算单价")
    @ApiModelProperty("结算单价")
    private BigDecimal settlementPrice;

    /** 实际结算金额 */
    @Excel(name = "实际结算金额")
    @ApiModelProperty("实际结算金额")
    private BigDecimal settlementMoney;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setBusinessNum(String businessNum)
    {
        this.businessNum = businessNum;
    }

    public String getBusinessNum()
    {
        return businessNum;
    }
    public void setVendorId(Long vendorId)
    {
        this.vendorId = vendorId;
    }

    public Long getVendorId()
    {
        return vendorId;
    }
    public void setVendorName(String vendorName)
    {
        this.vendorName = vendorName;
    }

    public String getVendorName()
    {
        return vendorName;
    }
    public void setResourceId(Long resourceId)
    {
        this.resourceId = resourceId;
    }

    public Long getResourceId()
    {
        return resourceId;
    }
    public void setResourceName(String resourceName)
    {
        this.resourceName = resourceName;
    }

    public String getResourceName()
    {
        return resourceName;
    }
    public void setInAmountTotal(BigDecimal inAmountTotal)
    {
        this.inAmountTotal = inAmountTotal;
    }

    public BigDecimal getInAmountTotal()
    {
        return inAmountTotal;
    }
    public void setInMoneyTotal(BigDecimal inMoneyTotal)
    {
        this.inMoneyTotal = inMoneyTotal;
    }

    public BigDecimal getInMoneyTotal()
    {
        return inMoneyTotal;
    }
    public void setSettlementPrice(BigDecimal settlementPrice)
    {
        this.settlementPrice = settlementPrice;
    }

    public BigDecimal getSettlementPrice()
    {
        return settlementPrice;
    }
    public void setSettlementMoney(BigDecimal settlementMoney)
    {
        this.settlementMoney = settlementMoney;
    }

    public BigDecimal getSettlementMoney()
    {
        return settlementMoney;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("businessNum", getBusinessNum())
            .append("vendorId", getVendorId())
            .append("vendorName", getVendorName())
            .append("resourceId", getResourceId())
            .append("resourceName", getResourceName())
            .append("inAmountTotal", getInAmountTotal())
            .append("inMoneyTotal", getInMoneyTotal())
            .append("settlementPrice", getSettlementPrice())
            .append("settlementMoney", getSettlementMoney())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
